aboutsummaryrefslogtreecommitdiff
path: root/src/pages/[...path].tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/[...path].tsx')
-rw-r--r--src/pages/[...path].tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/[...path].tsx b/src/pages/[...path].tsx
index 9c7704e..ff03d1c 100644
--- a/src/pages/[...path].tsx
+++ b/src/pages/[...path].tsx
@@ -6,6 +6,7 @@ import Emoji from '../Emoji';
import deepReadDir from '../deepReadDir';
import emojiPlugin from '../emojiPlugin';
import fs from 'fs';
+import remarkGemoji from 'remark-gemoji';
const MARKDOWN_DIR = '../eug-vs-xyz/src';
@@ -54,7 +55,7 @@ const Page: NextPage = ({ markdownSource, emojiFileNames }: any) => {
<ReactMarkdown
children={markdownSource}
transformLinkUri={transformLinkURI}
- rehypePlugins={[emojiPlugin(emojiFileNames)]}
+ rehypePlugins={[emojiPlugin(emojiFileNames), remarkGemoji]}
components={{
emoji: Emoji,
h1: 'h2',